<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/4/8
 * Time: 9:57
 */

namespace app\admin\validate;


use think\Validate;

class Banner extends Validate{

    protected $rule = [
        'title' => 'require',
        'photo' => 'require',
    ];

    protected $message = [
        'title.require' => '请输入Banner标题',
        'photo.require' => '请上传图片',
    ];
}